package cn.stylefeng.guns.modular.kh.mapper;

import cn.stylefeng.guns.modular.kh.entity.KhTzStorageOrder;
import cn.stylefeng.guns.modular.kh.model.params.KhTzStorageOrderParam;
import cn.stylefeng.guns.modular.kh.model.result.KhTzStorageOrderResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 提总分拣单 Mapper 接口
 * </p>
 *
 * @author zzh
 * @since 2025-10-23
 */
public interface KhTzStorageOrderMapper extends BaseMapper<KhTzStorageOrder> {

    /**
     * 获取列表
     *
     * @author zzh
     * @Date 2025-10-23
     */
    List<KhTzStorageOrderResult> customList(@Param("paramCondition") KhTzStorageOrderParam paramCondition);

    /**
     * 获取map列表
     *
     * @author zzh
     * @Date 2025-10-23
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") KhTzStorageOrderParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author zzh
     * @Date 2025-10-23
     */
    Page<KhTzStorageOrderResult> customPageList(@Param("page") Page page, @Param("paramCondition") KhTzStorageOrderParam paramCondition, @Param("condition") String condition);

    /**
     * 获取分页map列表
     *
     * @author zzh
     * @Date 2025-10-23
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") KhTzStorageOrderParam paramCondition);

}
